<template>
  <div class="subcontract-registration-manage">
    <div class="model-title-css">
      报批管理
    </div>
    <div class="background_wrap" style="padding: 10px 0;">
      <el-tabs class="approve-tabs" v-model="activeName">
        <el-tab-pane label="审批（核）项" name="first"></el-tab-pane>
        <el-tab-pane label="问题" name="second"></el-tab-pane>
        <!--        <el-tab-pane label="周报" name="third"></el-tab-pane>-->
        <el-tab-pane label="督战表" name="fourth"></el-tab-pane>
        <el-tab-pane label="批复项工作内容配置" name="fifth"></el-tab-pane>
      </el-tabs>
      <Item v-if="activeName == 'first'"></Item>
      <Problem v-if="activeName == 'second'"></Problem>
      <WeekReport v-if="activeName == 'third'"></WeekReport>
      <BidTable v-if="activeName == 'fourth'"></BidTable>
      <ApproveSetting v-if="activeName == 'fifth'"></ApproveSetting>
    </div>
  </div>
</template>

<script>
//  复制粘贴指定模块名只改下面这个名字就好了
let modulename = 'contractapply'
const urlBussBase = modulename.toLowerCase().replace(/-/g, '')
export default {
  name: `approveItem`,
  components: {
    Item: require(`./tab-view-group/item/item`).default,
    Problem: require(`./tab-view-group/problem/problem`).default,
    WeekReport: require(`./tab-view-group/weekReport/weekReport`).default,
    BidTable: require(`./tab-view-group/bidTable/bidTable`).default,
    ApproveSetting: require(`./tab-view-group/approveSetting/approveSetting`).default,
  },
  data() {
    const serverBuss = 'projectApproval-detail'
    return {
      activeName: 'first',
      // 列类型表
      list: [
        [
          {
            number: 1,
            actions: {
              show: {
                name: "查看",
              },
              edit: {
                name: "编辑",
              },
              delete: {
                name: "删除",
              },
            }
          },
          {
            number: 1,
            actions: {
              show: {
                name: "查看",
              },
              edit: {
                name: "编辑",
              },
              delete: {
                name: "删除",
              },
            }
          },
          {
            number: 1,
            actions: {
              show: {
                name: "查看",
              },
              edit: {
                name: "编辑",
              },
              delete: {
                name: "删除",
              },
            }
          }
        ]
      ],
      postDetailData: {
        show: false,
        type: 'build',
        typeNmae: '新增',
      }
    }
  },
  created() {
  },
  methods: {
  },
}
</script>
